﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MT.Master" AutoEventWireup="true" CodeBehind="DailyInterestStatement.aspx.cs" Inherits="MarginTrading.site.DailyInterestStatement" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

  
  <script type="text/javascript">
      $(document).ready(function() {
            $('#ctl00_MainContent_txtFromDate').datepicker({ dateFormat: 'dd/mm/yy', showOn: 'both', buttonImage: 'images/CalendarIcon.gif', buttonImageOnly: 'true' });
            $('#ctl00_MainContent_txtToDate').datepicker({ dateFormat: 'dd/mm/yy', showOn: 'both', buttonImage: 'images/CalendarIcon.gif', buttonImageOnly: 'true' });
      });
  </script>
  <fieldset>
    <table width="100%" cellpadding="5">
        <!-- Filter -->
        <tr valign="middle">
            <td>
                <asp:Label ID="lblFromDate" runat="server" Text="From Date"></asp:Label>
                <asp:TextBox ID="txtFromDate" runat="server"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="lblToDate" runat="server" Text="To Date"></asp:Label>
                <asp:TextBox ID="txtToDate" runat="server"></asp:TextBox>
            </td>
            
            <td align="right" style="width:30%">
                <asp:Button ID="SearchBtn" runat="server" Height="25px" Text="Search" 
                    Width="68px" onclick="SearchBtn_Click"/>
            </td>
        </tr>
        <asp:Panel runat="server" ID="pnlClientId">
        <tr>
            <td colspan="2">
                <asp:Label ID="lblClientId" runat="server" Text="Client ID"></asp:Label>&nbsp;&nbsp;
                <asp:TextBox ID="txtClientId" runat="server" Width="200"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Text="*"
                ErrorMessage="Client ID is required." ControlToValidate="txtClientId"></asp:RequiredFieldValidator>
            </td>
        </tr>
        </asp:Panel>
        <!-- Filter -->
        
        <!-- Report -->
        <tr>
            <td colspan="2" valign="top">
                <rsweb:reportviewer ID="ReportViewer1" runat="server"
                    Width="100%" Height="900">
                </rsweb:reportviewer>
            </td>
        </tr>
        <!-- Report -->
    </table>

</fieldset>

</asp:Content>
